package com.qumitech.visualnovel.service.voiceRoom;

import com.qumitech.visualnovel.model.common.BaseRsp;
import com.qumitech.visualnovel.controller.vo.voiceRoom.VoiceRoomVo;
import com.qumitech.visualnovel.pubdef.dto.voiceroom.TopVoiceRoomDTO;
import com.qumitech.visualnovel.pubdef.dto.voiceroom.VoiceRoomSearchDTO;

import java.util.List;
import java.util.Map;

/**
 * @Auther: yilu
 * @Date: 2018/11/23 08:44
 * @Description:
 */
public interface VoiceRoomConfigService {
    String VOICEROOM_CONFIG_URL = "/voiceroom";
    String VOICEROOM_CONFIG_ADMIN_URL = "/voiceroom/console";
    String VOICEROOM_TOP = "/top/config";
    String VOICEROOM_LIST = "/list";

    void updateVoiceRoomCfg(VoiceRoomVo voiceRoomVo);
    Map<String, Object> getVoiceRoom(Byte roomType, Byte orderBy, Integer offset, Integer limit);
    Object getTopVoiceRoom(VoiceRoomSearchDTO searchDTO);
    BaseRsp addTopVoiceRoom(TopVoiceRoomDTO topRoomConfig);
    BaseRsp updateTopVoiceRoom(Long configId, TopVoiceRoomDTO topRoomCfg);
    BaseRsp deleteTopVoiceRoom(Long configId);
    Map<String, Object> getVoiceRoomList(VoiceRoomSearchDTO searchDTO);
}
